package com.centriole.service.workflow.entity.shiro;

import java.io.Serializable;

/**
 * 多对多关系实体
 * @author Administrator
 *
 */
@SuppressWarnings("serial")
public final class UserRoles implements Serializable{
	private Integer id;
	private Integer userId;
	private Long roleId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public UserRoles(Integer userId, Long roleId) {
		super();
		this.userId = userId;
		this.roleId = roleId;
	}

	public UserRoles() {
		super();
	}

	@Override
	public String toString() {
		return "UserRoles [id=" + id + ", userId=" + userId + ", roleId=" + roleId + "]";
	}
}
